<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<!--<![endif]-->
<head th:include="common/common_head :: commonHeader('添加菜单')"></head>
<body>
	<div class="page-content">
		<div class="portlet-body form">
			<!-- BEGIN FORM-->
			<form action="#" id="sysFunctionAddForm" class="form-horizontal">
				<input type="hidden" name="parentId" th:value="${parentId}" />
				<div class="form-body">
					<div class="row">
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源名称</label>
								<div class="col-md-7 col-sm-7">
									<input type="text" class="form-control" name="funName" placeholder="请输入资源名称">
								</div>
							</div>
						</div>
						<!--/span-->
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源编码</label>
								<div class="col-md-7 col-sm-7">
									<input type="text" class="form-control" name="funCode" placeholder="请输入资源编码">
								</div>
							</div>
						</div>
						<!--/span-->
					</div>
					<!--/row-->
					<div class="row">
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源类型</label>
								<div class="col-md-7 col-sm-7">
									<select class="form-control" name="funType">
										<option value="1">菜单</option>
										<option value="0">按钮</option>
									</select>
								</div>
							</div>
						</div>
						<!--/span-->
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源地址</label>
								<div class="col-md-7 col-sm-7">
									<input type="text" class="form-control" name="funUrl" placeholder="">
								</div>
							</div>
						</div>
						<!--/span-->
					</div>

					<div class="row">
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源图标</label>
								<div class="col-md-7 col-sm-7">
									<input type="text" class="form-control" name="funIcon" placeholder="">
								</div>
							</div>
						</div>
					</div>
					
					<div class="row">
						<div class="col-md-6 col-sm-6">
							<div class="form-group">
								<label class="control-label col-md-3 col-sm-3">资源顺序</label>
								<div class="col-md-7 col-sm-7">
									<input type="text" class="form-control" name="sortNo" placeholder="">
								</div>
							</div>
						</div>
					</div>
				</div>
				<footer>
					<div class="qiyu-footer-style">
						<a href="javascript:;" id="addSysFunctionBtn" class="btn btn-circle green btn-outline sbold">&nbsp;&nbsp;&nbsp;&nbsp;保存&nbsp;&nbsp;&nbsp;&nbsp;</a>
						<a href="javascript:;" id="cancleSysFunctionBtn" class="btn btn-circle purple btn-outline sbold">&nbsp;&nbsp;&nbsp;&nbsp;取消&nbsp;&nbsp;&nbsp;&nbsp;</a>
					</div>
				</footer>
			</form>
			<!-- END FORM-->
		</div>
	</div>
	<!-- END CONTENT BODY -->
	<div th:include="common/onload_js :: onloadJS"></div>
	<script th:src="@{/qtyy/scripts/system/sys_function/sys_function_add.js}" type="text/javascript"></script>
	<script th:inline="javascript">
		/*<![CDATA[*/
		jQuery(document).ready(function() {
			QTYYSysFunctionAdd.initSysFunctionAdd();
		});
		/*]]>*/
	</script>
</body>
</html>